package com.itheima.test01;

import org.w3c.dom.ls.LSOutput;

public class Test01 {
    public static void main(String[] args) {

        Zi zi = new Zi();
        zi.show();
        zi.useSing();
    }

}

class Fu{
    int i=10;
    public void sing(){
        System.out.println("只因你太美");
    }
}

class Zi extends Fu{
    int  i=20;
    public void show(){
        int i=30;
        System.out.println(i);
        System.out.println(this.i);
        System.out.println(super.i);
    }
    public void sing(){
        System.out.println("大碗宽面");
    }

    public void useSing(){
      //  sing();
        super.sing();
    }

}
